<template>
    <view class="content">
        <button @click="goto('fabric')">fabric</button>
        <button @click="goto('konva')">konva</button>
    </view>
</template>

<script setup lang="ts">
function goto(name: string) {
    uni.navigateTo({
        url: `/pages/${name}/index`,
    });
}
</script>

<style></style>
